-- GENERATED SPELL FOR [Vilebranch Warrior] --


function spell0_4465(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4465', 595, 1)
end

function Sorts_4465(pUnit, Event)
local choix_sorts_4465 = math.random(0, 0)
if choix_sorts_4465 == 0 then
pUnit:RegisterEvent('spell0_4465', 1, 1)
end
end

function mob4465_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4465', math.random(1500, 3000), 1)
end

function mob4465_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4465_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4465_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4465, 1, 'mob4465_Action')
RegisterUnitEvent(4465, 2, 'mob4465_Leave')
RegisterUnitEvent(4465, 3, 'mob4465_Kill')
RegisterUnitEvent(4465, 4, 'mob4465_Die')
